package com.oscar.web.dao;

import com.oscar.web.domain.collect;
import org.springframework.data.repository.Repository;

public interface UserBookCollectRepository extends Repository<collect, Long> {
    public collect save(collect userBookCollect);

    public Boolean existsByUserIdAndBookId(int userId, int bookId) ;

}
